#include "../Common/LinkList.h"
#include <iostream>

using namespace std;


int main(int argc, char const *argv[])
{
  LinkList ll;
  ll.addAtTail(1);
  ll.addAtTail(2);
  ll.addAtTail(4);
  ll.addAtTail(5);

  cout << ll.isPalindrome() << endl;
  return 0;
}
